
cmake_minimum_required(VERSION 3.5.0)

set(CMAKE_CXX_STANDARD 17)

file(GLOB local_src *.cpp)
file(GLOB local_headers *.h)

add_executable(fxcc_test_e2d_app_engine engine.cpp)

target_link_libraries(fxcc_test_e2d_app_engine
    PUBLIC 
    fxcc_test_e2d_ui_full
)

add_executable(fxcc_test_e2d_app_launcher launcher.cpp )
target_link_libraries(fxcc_test_e2d_app_launcher 
    PUBLIC 
    fxcc_test_e2d_ui_full
)

set_target_properties(fxcc_test_e2d_app_engine PROPERTIES
    VS_DEBUGGER_ENVIRONMENT "PATH=%PATH%;${CMAKE_SOURCE_DIR}/_deps/PhysX/physx/install/vc17win64/PhysX/bin/win.x86_64.vc142.mt/$(Configuration)")


set_target_properties(fxcc_test_e2d_app_launcher PROPERTIES
    VS_DEBUGGER_ENVIRONMENT "PATH=%PATH%;${CMAKE_SOURCE_DIR}/_deps/PhysX/physx/install/vc17win64/PhysX/bin/win.x86_64.vc142.mt/$(Configuration)")
    
